package com.procurement.bidding.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 评标条例对象 pcm_evaluation_criteria
 * 
 * @author feng
 * @date 2023-11-22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PcmEvaluationCriteria extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评标条例ID */
    private Long evaluationCriteriaId;

    /** 条例名称 */
    @Excel(name = "条例名称")
    private String criteriaName;



    /** 提交人 */
//    @Excel(name = "提交人")
    private Long presenter;

    /** 提交人昵称 */
    @Excel(name = "提交人")
    private String nickName;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date submitData;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateData;

    /** 评标规则信息 */
    @Excel(name = "评标规则",needMerge = true)
    private List<PcmEvaluationRule> pcmEvaluationRuleList;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("evaluationCriteriaId", getEvaluationCriteriaId())
            .append("criteriaName", getCriteriaName())
            .append("presenter", getPresenter())
            .append("submitData", getSubmitData())
            .append("updateData", getUpdateData())
            .append("pcmEvaluationRuleList", getPcmEvaluationRuleList())
            .toString();
    }
}
